FROM python:3.10

WORKDIR /service

COPY  . /service

RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 5000

CMD ["python","app.py"]